<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>公告通知</title>
</head>
<script src="../res/js/jquery-3.1.1.min.js"></script>
<script>
    $(function () {
        var url="../UserController/findGonggao";
        var data=null;
        $.post(url,data,function(obj){
            $.each(obj,function(index,item){
               $("#gonggao").append("<div id='one'>公益标题:"+item.gaoTitle+"</div><span class='two'>公益内容:"+item.gaoNeirong+"</span>");
            });
        },"json");
    })
</script>
<style>
    #title{
        text-align: center;
    }
    #one{
        text-align: center;
    }
    .two{
        line-height: 40px;
    }
</style>
<body>
<h3 id="title">公益通知</h3>
<div style="width: 100%" id="gonggao">

</div>
</body>
</html>